package com.go.where.manager.service.system.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.go.where.manager.dao.system.PermissionDao;
import com.go.where.manager.pojo.user.Permission;
import com.go.where.manager.service.system.PermissionService;

@Service("permissionService")
public class PermissionServiceImpl implements PermissionService {

	@Resource(name = "permissionDao")
	private PermissionDao permissionDao;

	@Override
	public List<Permission> queryByRoleId(String roleId) {
		return permissionDao.queryByRoleId(roleId);
	}

}
